The sternocleidomastoid muscle divides the neck region into posterior and anterior triangles.